<?php
namespace Modules\ShopApi\Http\Controllers\v1;
use Illuminate\Http\Request;
use Modules\ShopApi\Services\JuheService;
class JuheController extends CommonController
{  
	/**
	 * @name  手机号码归属地
	 * @method  GET
	 * @return  JSON
	 */ 
    public function get_phone(Request $request)
    { 
		return (new JuheService())->get_phone($request->get('phone'));
    }
	/**
	 * @name  身份证查询
	 * @method  GET
	 * @return  JSON
	 */ 
    public function get_idcard(Request $request)
    { 
		return (new JuheService())->get_idcard($request->get('idcard'));
    }
}
